package cn.sumpu.app.guoguojie.biz;

import java.util.List;

import cn.sumpu.app.guoguojie.domain.TaobaokeShop;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;
import cn.sumpu.app.guoguojie.util.PageModel;

public interface TopShopBiz {
    public void saveTopShop(TaobaokeShop taobaokeShop, String saveType) throws AppBusinessException;

    public void deleteTopShopById(String id) throws AppBusinessException;

    /**
     * 根据商家ID更新店铺gmt_modified
     * @author grieous
     * @param sellerId
     * @throws AppBusinessException
     */
    public void updateTopShopBySellerId(String sellerId) throws AppBusinessException;

    public TaobaokeShop getTopShopById(String id) throws AppBusinessException;
    
    public TaobaokeShop getTopShopBySellerId(String sellerId) throws AppBusinessException;

    public PageModel getTopShop(Integer page, Integer pageSize,Integer proSize, String shopName) throws AppBusinessException;

    public List<TaobaokeShop> getIndexShop() throws AppBusinessException;
}
